import request from '@/utils/request'

// 量测水统计分析日逐时水量
export function listwru(query) {
    return request({
        url: '/waterManagement/WrStatvolH/listWrStatvolHwr',
        method: 'get',
        params: query
    })
}
// 量测水统计分析月逐日水量
export function listwdu(query) {
    return request({
        url: '/waterManagement/WrStatvolD/listWrStatvolDVO',
        method: 'get',
        params: query
    })
}
// 量测水统计分析年逐月水量
export function listwmu(query) {
    return request({
        url: '/waterManagement/WrStatvolM/selectNzyWrStatvolMVO',
        method: 'get',
        params: query
    })
}

//年逐日流量
export function listwyllu(query) {
    return request({
        url: '/waterManagement/WrStatvolD/listNzrLevelVO',
        method: 'get',
        params: query
    })
}
//年逐日用水量
export function listnzrysl(query) {
    return request({
        url: '/waterManagement/WrStatvolD/listNzrWrStatvolDVO',
        method: 'get',
        params: query
    })
}

//年逐日水位
export function listnzrswl(query) {
    return request({
        url: '/waterManagement/WrStatvolD/listNzrFlowVO',
        method: 'get',
        params: query
    })
}


//行政区划（下拉选）
export function getxzqh() {
    return request({
        url: '/datam/AdBase/roleAreaByuser',
        method: 'get'
    })
}

//查询渠道详情
export function getinfo(query) {
    return request({
        url: '/waterManagement/channelWaterRegime/selStationByStCode',
        method: 'get',
        params: query
    })
}
//水量日报
export function listDailyReport(query) {
    return request({
        url: '/waterManagement/WrStatvolD/listDailyWaterReport',
        method: 'get',
        params: query
    })
}
//水量月报
export function listRiunWaterMonthlyReport(query) {
    return request({
        url: '/waterManagement/WrStatvolM/listMonthWaterReport',
        method: 'get',
        params: query
    })
}
//水量年报
export function listRiunWaterAnnualReport(query) {
    return request({
        url: '/waterManagement/WrStatvolY/listYearWaterReport',
        method: 'get',
        params: query
    })
}
